package appcus

import (
	"github.com/gin-gonic/gin"
)

type UserRouter struct{}

func (e *UserRouter) InitCustomerRouter(privateRouter *gin.RouterGroup, Router *gin.RouterGroup) {
	customerRouter := Router.Group("appcus")

	privateCustomerRouter := privateRouter.Group("appcus")

	{
		customerRouter.POST("login", appUserApi.Login) // 客户登陆
	}
	{
		privateCustomerRouter.POST("updateUserInfo", appUserApi.UpdateUserInfo)
		privateCustomerRouter.GET("getUserInfo", appUserApi.GetUserInfo)
	}
}
